import request from '@/utils/request'

// 查询公示栏库存非分页
export function getColumnInfoSimple() {
  return request({
    url: '/oa/column/bpmSimple-list',
    method: 'get',
  })
}

// 新增公示栏申请	
export function createOaPublicityColumn(data) {
  return request({
    url: '/bpm/oa-publicity-column/create',
    method: 'post',
	data
  })
}

// 查询公示栏申请	分页
export function getOaPublicityColumnPage(data) {
  return request({
    url: '/bpm/oa-publicity-column/page',
    method: 'get',
	data
  })
}

// 查询公示栏申请	分页
export function getColumn(data) {
  return request({
    url: '/oa/column/get',
    method: 'get',
	data
  })
}

// 查询公示栏申请	分页
export function getOaPublicityColumn(data) {
  return request({
    url: '/bpm/oa-publicity-column/get',
    method: 'get',
	data
  })
}

export function getColumnGetByParentId(data) {
  return request({
    url: '/oa/column-detail/getByParentId',
    method: 'get',
	data
  })
}

// 公示栏审核专用
export function oaPublicityColumn(data) {
  return request({
    url: '/bpm/oa-publicity-column/approve',
    method: 'post',
	data
  })
}
